﻿namespace SampleApplication.CoffeeShopSample.Implementation.Domain
{
    #region Usings

    using Dependencies.Domain;
    using System;

    #endregion Usings

    public class TeaMachine : ITeaMachine
    {
        public IBeverage MakeTea(ITeaBag teaBag)
        {
            if (teaBag == null) throw new ArgumentNullException("teaBag");

            return new Tea(teaBag, 100);
        }
    }
}